package com.kk.observer.trational;

/**
 * @author o_o
 */
public class Client {
    public static void main(String[] args) {

        CurrentWeather currentWeather = new CurrentWeather();
        WeatherData weatherData = new WeatherData(currentWeather);

        weatherData.setWeatherData(38, 39, 40);
        System.out.println("=================天气变化了=====================");
        weatherData.setWeatherData(40, 41, 42);
    }
}
